package com.qf.pojo;

import java.util.Date;

/**
 * @Description: 公用常量
 * @Data: 2022/8/28 22:59
 * @Pacakge: com.qf.pojo
 * @ClassName: Admin
 * @Author: fan
 * 管理员实体
 */
public class Admin {
    private Integer id;//管理员编号
    private String username;//昵称
    private String password;//密码
    private String name;//真实姓名
    private Integer age;//年龄
    private String gender;//性别
    private Date birthday;//出生日期

    public Admin() {
    }

    public Admin(Integer id, String username, String password, String name, Integer age, String gender, Date birthday) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.name = name;
        this.age = age;
        this.gender = gender;
        this.birthday = birthday;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                ", birthday=" + birthday +
                '}';
    }
}
